package com.wran.service;

import com.car.entity.CarInfo;
import com.car.mapper.CarInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：mmzs
 * @date ：Created in 2020/3/10 9:24
 * @description：业务层
 * @modified By：
 * @version: 1, 0$
 */
@Service
public class WarnService {

    @Autowired
    private CarInfoMapper carInfoMapper;

    public List<CarInfo> queryCar() {
        return carInfoMapper.queryCarInfoByStatu();
    }

}
